/**
 * 
 */
package jnzb.model.queue;

import java.text.SimpleDateFormat;
import java.util.GregorianCalendar;

/**
 * Contains all the data for displaying a row in the finished table
 * 
 * @author AA1
 * 
 */
public class NZBFinishedEvent {
	private static final SimpleDateFormat sdf = new SimpleDateFormat("HH:mm");

	private String time;
	private String nzbName;
	private long size;

	/**
	 * @param time
	 * @param nzbName
	 * @param size
	 */
	public NZBFinishedEvent(String nzbName, long size) {
		super();
		this.time = sdf.format(GregorianCalendar.getInstance().getTime());
		this.nzbName = nzbName;
		this.size = size;
	}

	/**
	 * @return the time
	 */
	public String getTime() {
		return time;
	}

	/**
	 * @return the nzbName
	 */
	public String getNzbName() {
		return nzbName;
	}

	/**
	 * @return the size
	 */
	public long getSize() {
		return size;
	}

}
